/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package test;

import java.util.Map;
import org.apache.avro.util.Utf8;
import java.util.HashMap;

/**
 *
 * @author evan
 */
public class HashCode {

    public static void main(String[] args) {
//        Map<Utf8, Object> m = new HashMap<Utf8, Object>();
//        m.put(new Utf8("a"), "etxk");
//        String tmp = m.get(new Utf8("a")).toString();
//        int hash = Math.abs(tmp.hashCode());
//        int i = hash % 80;
//        System.out.println(i);
        String t = "a.b";
        System.out.println(t.split("\\.")[0]);
        
    }
}
